home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
Aminet
/
comm
/
ums
/
UMS11_9_beta.lha
/
UMS
/
Developer
/
C
/
dlib
/
DMakefile
next >
Wrap
Makefile
|
1994-04-24
|
1KB
|
55 lines
TMPDIR = T:
SRCS = UMSLog.c UMSReadConfigTags.c UMSReadMsgTags.c UMSSearchTags.c \
UMSSelectTags.c UMSWriteConfigTags.c UMSWriteMsgTags.c \
UMSMatchConfigTags.c
SOBJS = $(SRCS:"*.c":"$(TMPDIR)*s.o")
SROBJS = $(SRCS:"*.c":"$(TMPDIR)*sr.o")
LOBJS = $(SRCS:"*.c":"$(TMPDIR)*l.o")
LROBJS = $(SRCS:"*.c":"$(TMPDIR)*lr.o")
LIBS = umss.lib umssr.lib umsl.lib umslr.lib
FDLIB = $(TMPDIR)umsfd.lib
FTLOPTS = /fd/ums_lib.fd -h /include/clib/ums_protos.h -o $(FDLIB) \
-auto ums.library -v -I /include -I DINCLUDE:amiga31
CFLAGS = -3.1 -mi -I /include
all : $(LIBS)
umss.lib : $(SOBJS)
fdtolib $(FTLOPTS) -md
Join %(right) $(FDLIB) to %(left)
-delete $(FDLIB)
umssr.lib : $(SROBJS)
fdtolib $(FTLOPTS) -md -mRR
Join %(right) $(FDLIB) to %(left)
-delete $(FDLIB)
umsl.lib : $(LOBJS)
fdtolib $(FTLOPTS) -mD
Join %(right) $(FDLIB) to %(left)
-delete $(FDLIB)
umslr.lib : $(LROBJS)
fdtolib $(FTLOPTS) -mD -mRR
Join %(right) $(FDLIB) to %(left)
-delete $(FDLIB)
$(SOBJS) : $(SRCS)
dcc $(CFLAGS) -o %(left) -c %(right) -md
$(SROBJS) : $(SRCS)
dcc $(CFLAGS) -o %(left) -c %(right) -md -mRR
$(LOBJS) : $(SRCS)
dcc $(CFLAGS) -o %(left) -c %(right) -mD
$(LROBJS) : $(SRCS)
dcc $(CFLAGS) -o %(left) -c %(right) -mD -mRR
clean :
-Delete $(SOBJS) $(SROBJS) $(LOBJS) $(LROBJS) QUIET
new :
DMake clean
DMake all